package com.ming.attendance.service;

import com.ming.attendance.model.UserInfoModel;
import com.ming.attendance.model.WxUserTokenModel;
import com.ming.attendance.po.ResponseBean;
import com.ming.attendance.po.WxUser;

public interface WxUserService {

    ResponseBean<Integer> createUser(WxUser user);

    // 包含事件统计的相关数据
    ResponseBean<UserInfoModel> getUserInfo(String openid);

    ResponseBean<Integer> updateUser(WxUser user);

    ResponseBean<WxUserTokenModel> login(WxUser user);

    ResponseBean<Object> getDecryptedData(String openid,String encryptedData,String iv);

}
